<?php
class CaseAction extends CommonAction {
    public function index(){
		$this->assign('home','home');
		$ModulesDB = D('Modules');
		$this->initView();
		echo $this->view -> fetch('Public:header');
		echo $ModulesDB->getListToString($this->siteInfo['page_header_id'],$this->view);
		echo $ModulesDB->getListToString($this->siteInfo['page_id'],$this->view);
		echo $ModulesDB->getListToString($this->siteInfo['page_footer_id'],$this->view);
		echo $this->view -> fetch('Public:footer');
		echo $this->view -> fetch('Public:footerscript');
		$this->assign('modulesList',$modulesList);
		$this->display();
    }
}